package com.zivwu.library.ui.base;


import android.os.Bundle;
import android.support.annotation.StringRes;


import io.reactivex.Observable;

public interface IView {

    <T> Observable<T> lifecycle();

    void startActivity(Class<?> cls);

    void startActivity(Class<?> cls, Bundle bundle);

    void showToast(String msg);

    void showToast(@StringRes int id);

    void finish();


}
